package com.ruoyi.supplier.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库对象 tb_store_in
 * 
 * @author ruoyi
 * @date 2021-03-06
 */
public class TbStoreIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 入库批次号 */
    @Excel(name = "入库批次号")
    private String storeNumber;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storeDate;

    /** 仓库表ID */
    private Long storeId;

    /** 入库单状态 */
    @Excel(name = "入库单状态")
    private Long storeStatus;

    @Excel(name = "仓库")
    private String storeName;

    /** 入库类型 0、手动 1、盘点自动 */
    private Integer storeType;

    @Excel(name = "门店类型")
    private String sName;
    private Long sId;

    /** 入库明细信息 */
    private List<TbStoreInDetail> tbStoreInDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStoreNumber(String storeNumber) 
    {
        this.storeNumber = storeNumber;
    }

    public String getStoreNumber() 
    {
        return storeNumber;
    }
    public void setStoreDate(Date storeDate) 
    {
        this.storeDate = storeDate;
    }

    public Date getStoreDate() 
    {
        return storeDate;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStoreStatus(Long storeStatus) 
    {
        this.storeStatus = storeStatus;
    }

    public Long getStoreStatus() 
    {
        return storeStatus;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getStoreType() {
        return storeType;
    }

    public void setStoreType(Integer storeType) {
        this.storeType = storeType;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public List<TbStoreInDetail> getTbStoreInDetailList()
    {
        return tbStoreInDetailList;
    }

    public void setTbStoreInDetailList(List<TbStoreInDetail> tbStoreInDetailList)
    {
        this.tbStoreInDetailList = tbStoreInDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeNumber", getStoreNumber())
            .append("storeDate", getStoreDate())
            .append("storeId", getStoreId())
            .append("storeStatus", getStoreStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tbStoreInDetailList", getTbStoreInDetailList())
            .toString();
    }
}
